package com.nd.qa.shareplate.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nd.qa.shareplate.IDao.InterfaceMapper;
import com.nd.qa.shareplate.model.InterfaceInfo;
import com.nd.qa.shareplate.service.InterfaceService;

@Service("com.nd.qa.shareplate.service.InterfaceService")
public class InterfaceServiceImpl implements InterfaceService{

	@Autowired
	private InterfaceMapper interfaceMapper;
	
	@Override
	public List<InterfaceInfo> queryAllInterface() {
		return interfaceMapper.queryAllInterface();
	}

	@Override
	public List<InterfaceInfo> querySuccessInterface() {
		return null;
	}

	@Override
	public List<HashMap<String, Object>> queryInterErrorType() {
		return interfaceMapper.queryInterErrorType();
	}

	@Override
	public List<HashMap<String, Object>> queryInterErrorReason() {
		return null;
	}
	@Override
	public List<InterfaceInfo> querytotalInterface() {
		return interfaceMapper.querytotalInterface();
	}

	@Override
	public List<InterfaceInfo> queryInterError(InterfaceInfo info) {
		return interfaceMapper.queryInterError(info);
	}

}
